package rust_serial


external fun nativeOpen(name: String, baudRate: Int): Long

external fun nativeWrite(fd: Long, buf: ByteArray)

external fun nativeRead(fd: Long): ByteArray

external fun nativeClose(fd: Long)

external fun nativeDelete(fd: Long)


